<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link href="__STATIC__/css/shopin.css" rel="stylesheet" />
<style>
	*{
		font-size: 14px;
	}
	
	.mui-content input{
		border: none;  
		padding-left: 0;
		margin: 15px 0 5px 0;
		position: relative;
		font-size: 12px;
		padding-left: 5px;
	}
	.mui-content input{
		border-bottom:1px solid #CCCCCC;
		border-radius: 0;
		width: 100%;
	}
	.mui-content span,#header li{
		color: #777;
	}
	
	.take{
		padding: 15px;
		margin-top: 15px;
		background: white;
	}
	.take li{
		margin-top: 10px;
		padding-bottom: 10px;
		position: relative;
	}
	.take input{
		margin-left: 20px;
		width: 80vw;
	}
	.take .price:before{
		content: '￥';
		position: absolute;
		top: 35px;
	}
	#submit{
		margin-top: 10px;
		font-size: 18px;
		display: block;
		width: 100%;
		padding: 15px 0;
		color: #fff;
		border: 1px solid #dd524d;
		background-color: #dd524d;
		cursor: pointer;
	}
</style>
</head>
<body>
	<div class="header">
		<div class="left">
			<a href="javascript:;" class="a-back"><span>返回</span></a>
		</div>
		<div class="center">
			<h1>提现</h1>
		</div>
	</div>
	<!--//头部结束-->
<div class="mui-content">
	<!-- <ul class="take">
		<li>
			<span>微信号</span>
			<input type="text" id="" placeholder="请输入本人的微信号进行提现" >
		</li>
	</ul> -->
	<!--<ul class="take" >-->
		<!--<li class="price">-->
			<!--<span>提现金额</span>-->
			<!--<input type="number"  placeholder="{$userInfo.balance}" name="{$userInfo.balance}"  id="price">-->
		<!--</li>-->
	<!--</ul>-->
	<!--<button type="button" id="submit">提交</button>-->
	<form action="price_tixian" method="post" onsubmit="return zuzhi()">
		<ul class="take" >
			<li class="price">
				<span>提现金额</span>
				<input type="text" onkeyup="value=value.replace(/[^\d.]/g,'')" value="{$userInfo.balance}" id="price" name="price">
			</li>
		</ul>
		<input type="submit" id="submit" value="提现">
	</form>
</div>
<script type="text/javascript">
</script>
</body>
<script src="__STATIC__/js/jquery-3.1.1.min.js"></script>
<script>
	$('.a-back').on('click',function(){
		window.history.go(-1);
	})
	function zuzhi() {
		var price = document.getElementById('price').value;
		if (price < 1){
			alert('提现金额最少1元');return false;
		}else{
			return true;
		}
	}
</script>
</html>